<div class="module">
	<div>
		<p>debug 信息:</p>
		<pre data-bind="text:ko.toJSON($root,null,2)"></pre>
	</div>
	<hr/>
	<div class="content">
		<button data-bind="click:function(){val('change val')}">change val</button>

		<!--<textarea data-bind="psTextarea:{},textInput:val"></textarea>-->
		<div data-bind="if:view()===1">
			<textarea data-bind=" psTextarea:{width:270,height:100},textInput:val "></textarea>
		</div>
		<div data-bind="if:view()===2">
			<textarea data-bind="psTextarea:{width:270,height:100},textInput:val "></textarea>
		</div>
		<div data-bind="if:view()===3">
			<textarea data-bind="psTextarea:{width:270,height:100},textInput:val "></textarea>
		</div>
		<hr />
		<p data-bind="text:val "></p>
		<button data-bind="click:change ">change</button>
	</div>
</div>